<template>
<h1>属性绑定</h1>
  <input type="text" value="kk">
  <input type="text" value="info">
  <hr>
  <input type="text" v-bind:value="info">
  <input type="text" :value="info">
  <hr>
  <a href="url">链接1</a>
  <a :href="url">链接2</a>
</template>

<script setup>
import {ref} from "vue";

const info = ref('属性绑定666')

const url = ref('https://www.baidu.com')
url.value='https://www.jd.com'
</script>

<style scoped>

</style>